<template>
  <div :class="prefixCls">
    <label>{{ label }}</label>
    <div class="jl-form-input">
      <slot></slot>
    </div>
  </div>
</template>

<script>
const prefixCls = 'jl-form-item'
export default {
  name: 'FormItem',
  props: {
    label: {
      type: String,
      default: () => ''
    }
  },
  data() {
    return {
      prefixCls: prefixCls
    }
  }
}
</script>

<style></style>
